package com.laiketui.order.api.enums;

public enum OrderDetailEnum {

    WAIT_PAY(1, "待付款"),
    WAIT_CHECK(2, "备货中"),
    WAIT_SEND(3, "待发货"),
    WAIT_RECEIVE(4, "已发货"),
    FINISH(5, "已完成"),
    REFUND(6, "已退款"),
    CANCEL(0, "已取消");
    private Integer code;
    private String name;
    OrderDetailEnum(int code, String name) {
        this.code = code;
        this.name = name;
    }
    public Integer getCode() {
        return code;
    }
    public String getName() {
        return name;
    }
}
